Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Pinecone implementation nonblocking #321

Conversation

HHousen
Copy link
Contributor

@HHousen HHousen commented Aug 1, 2023

No description provided.

@linear
Copy link

linear bot commented Aug 1, 2023

@HHousen HHousen marked this pull request as ready for review August 1, 2023 17:38
vocode/streaming/streaming_conversation.py Outdated Show resolved Hide resolved
vocode/streaming/vector_db/pinecone.py Outdated Show resolved Hide resolved
vocode/streaming/vector_db/pinecone.py Show resolved Hide resolved
else:
params["model"] = model

return list((await openai.Embedding.acreate(**params))["data"][0]["embedding"])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(fast follow) this should have some error handling

@ajar98 ajar98 merged commit c61aea2 into main Aug 1, 2023
4 checks passed
m5a0r7 pushed a commit to m5a0r7/vocode-python that referenced this pull request Oct 19, 2023
* similarity_search_with_score works but add_texts does not

* Make upsert work

* Terminate aiohttp session if vector db exists

* Add langchain comment

* Move terminate code to base_agent

* Make embedding function async

* Fix mypy

* Add aiohttp_session parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants